home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((3333)))) NNNNAAAAMMMMEEEE XSGIvcSetOutputGain, XSGIvcQueryOutputGain - Video Gain Operations SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ####iiiinnnncccclllluuuuddddeeee <<<<XXXX11111111////eeeexxxxtttteeeennnnssssiiiioooonnnnssss////XXXXSSSSGGGGIIIIvvvvcccc....hhhh>>>> vvvvooooiiiidddd XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,, iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,, iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,, iiiinnnntttt ccccoooommmmppppoooonnnneeeennnnttttIIIIDDDD,,,, ffffllllooooaaaatttt ggggaaaaiiiinnnn)))) SSSSttttaaaattttuuuussss XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((DDDDiiiissssppppllllaaaayyyy ****ddddiiiissssppppllllaaaayyyy,,,, iiiinnnntttt ssssccccrrrreeeeeeeennnn,,,, iiiinnnntttt cccchhhhaaaannnnnnnneeeellll,,,, iiiinnnntttt ccccoooommmmppppoooonnnneeeennnnttttIIIIDDDD,,,, ffffllllooooaaaatttt ****ggggaaaaiiiinnnnRRRReeeettttuuuurrrrnnnn)))) PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS _d_i_s_p_l_a_y Specifies the connection to the X server. _s_c_r_e_e_n Specifies the screen of the X server. _c_h_a_n_n_e_l Specifies the channel number. _c_o_m_p_o_n_e_n_t_I_D Specifies the color component which is the subject of the call. This can be one of XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____RRRREEEEDDDD, XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____GGGGRRRREEEEEEEENNNN, XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____BBBBLLLLUUUUEEEE, XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____AAAALLLLPPPPHHHHAAAA, or XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____AAAALLLLLLLL. _g_a_i_n The value to which the gain should be set. _g_a_i_n_R_e_t_u_r_n Pass a pointer to the location which is to receive the value to which the color component gain is set. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN These functions allow alteration and query of video gain values and is intended for use by color correction and gamma management tools. Arbitrary use of this control may conflict with these tools. The gain value is specified in arbitrary units, where the following are points of interest: _0._0 Lowest useful value _1._0 Nominal value Page 1 (printed 10/3/02) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((3333)))) XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn((((3333)))) _1_0._0 Highest possible value Precision depends upon server implementation and although is monotonically increasing is not guaranteed to be uniform across the full range. You should use XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn to retrieve the current setting from the server after a set operation to determine the value to which the server is set. XXXXSSSSGGGGIIIIvvvvccccSSSSeeeettttOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn(((()))) sets the video output gain of the components of a channel. XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn(((()))) returns the current settings for each of the components of a channel. CCCCoooommmmppppoooonnnneeeennnntttt SSSSppppeeeecccciiiiffffiiiiccccaaaattttiiiioooonnnn A server may support independent adjustment of each component, or may support only a global change; refer to hardware documentation for information on server support or reference the XXXXSSSSGGGGIIIIVVVVCCCC____CCCCIIIIFFFFPPPPeeeerrrrCCCCoooommmmppppoooonnnneeeennnnttttGGGGaaaaiiiinnnn mask bit in the field _c_h_a_n_n_e_l_F_l_a_g as returned in the XXXXSSSSGGGGIIIIVVVVCCCCQQQQuuuueeeerrrryyyyCCCChhhhaaaannnnnnnneeeellllIIIInnnnffffoooo function. This mask bit is True when the server supports independent gain adjustment of each component on the channel. Applications written for use on more than one type of hardware should query all color component values after setting one. For servers that permit independent adjustment, any component of XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____RRRREEEEDDDD, XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____GGGGRRRREEEEEEEENNNN, XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____BBBBLLLLUUUUEEEE, or XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____AAAALLLLPPPPHHHHAAAA may be specified. For servers that support only simultaneous, ganged change of the gain for all components, use XXXXSSSSGGGGIIIIVVVVCCCC____CCCCOOOOMMMMPPPPOOOONNNNEEEENNNNTTTT____AAAALLLLLLLL. EEEEVVVVEEEENNNNTTTTSSSS When this control is altered, the server generates a OutputGainNotify event. RRRREEEETTTTUUUURRRRNNNNEEEEDDDD VVVVAAAALLLLUUUUEEEE XXXXSSSSGGGGIIIIvvvvccccQQQQuuuueeeerrrryyyyOOOOuuuuttttppppuuuuttttGGGGaaaaiiiinnnn returns TRUE if successful, FALSE upon failure. Parameter errors are reported via BadValue or BadMatch. SSSSEEEEEEEE AAAALLLLSSSSOOOO XSGIvc Page 2 (printed 10/3/02)